package com.fingard.dsp.bank.reqrespobj.frgcurrsingle.detail;

import com.fingard.xml.XmlTextWriter;

/**
 * 海外-响应ats明细数据
 */
public class RetAtsCJFrgCurrSingleDetail {
    public String respCode;//响应码
    public String respInfo;//响应信息
    public String transState;//交易状态码
    public String reqSeqID;//原付款流水号
    public String payInfoCode;//银行返回码
    public String transAmt;//
    public String resendFlag;//是否重新请求标识 1是0否
    /**渠道方的订单号，或者流水号*/
    public String outTransID;

    public void writeToXml(XmlTextWriter retXmlWriter){
        retXmlWriter.writeStartElement("DetailRecord");
        retXmlWriter.writeElementString("RespCode", respCode);
        retXmlWriter.writeElementString("RespInfo", respInfo);
        retXmlWriter.writeElementString("TransState", transState);
        retXmlWriter.writeElementString("ReqSeqID", reqSeqID);
        retXmlWriter.writeElementString("PayInfoCode", payInfoCode);
        retXmlWriter.writeElementString("TransAmt", transAmt);
        retXmlWriter.writeElementString("ResendFlag", resendFlag);
        retXmlWriter.writeElementString("OutTransID", outTransID);
    }
}
